package com.lyf.emp.entity;


import java.io.Serializable;
import java.sql.Date;

public class Tpassports implements Serializable {

  private Integer id;
  private String nationality;
  private java.sql.Date expire;
  private Integer passengersId;
  private Tpassengers tpassengers;

  public Tpassengers getTpassengers() {
    return tpassengers;
  }

  public void setTpassengers(Tpassengers tpassengers) {
    this.tpassengers = tpassengers;
  }

  @Override
  public String toString() {
    return "Tpassports{" +
            "id=" + id +
            ", nationality='" + nationality + '\'' +
            ", expire=" + expire +
            ", passengersId=" + passengersId +
            ", tpassengers=" + tpassengers +
            '}';
  }

  public Tpassports() {
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getNationality() {
    return nationality;
  }

  public void setNationality(String nationality) {
    this.nationality = nationality;
  }


  public java.sql.Date getExpire() {
    return expire;
  }

  public void setExpire(java.sql.Date expire) {
    this.expire = expire;
  }


  public Integer getPassengersId() {
    return passengersId;
  }

  public void setPassengersId(Integer passengersId) {
    this.passengersId = passengersId;
  }

}
